--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit b301dc569b4fed6d856322b3abbed609ded0b3c1
Parents : 55baede
Author : Mark Qvist <mark@unsigned.io>
Date : 2024-12-10T21:18:52+01:00
Updated repository
Changes
5 files changed, 19 insertions(+), 4 deletions(-)
Diff
diff --git a/sbapp/share/flasher.html b/sbapp/share/flasher.html
index 14bb9d3b..9033cc95 100644
--- a/sbapp/share/flasher.html
+++ b/sbapp/share/flasher.html
@@ -9,7 +9,7 @@
</head>
<body>
<span class="logo">RNode Flasher</span>
-<p><center><span class="menu"><a href="index.html">Start</a> | <a href="flasher.html">RNode Flasher</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr>
+<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="flasher.html">RNode Flasher</a> | <a href="guides.html">Guides</a></span></center></p><hr>
<br/>Sideband includes a copy of the web-based RNode Flasher developed by <a href="https://github.com/liamcottle/rnode-flasher">Liam Cottle</a>. You can use this flasher to install and provision the RNode firmware on any compatible boards.<br/>
<br/>
<b>Please note!</b> Your browser must support Web-USB for this to work.<br/>
diff --git a/sbapp/share/guides.html b/sbapp/share/guides.html
index 15d09edd..d4cf17a8 100644
--- a/sbapp/share/guides.html
+++ b/sbapp/share/guides.html
@@ -9,7 +9,7 @@
</head>
<body>
<span class="logo">Guides</span>
-<p><center><span class="menu"><a href="index.html">Start</a> | <a href="flasher.html">RNode Flasher</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr><br/>
+<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="flasher.html">RNode Flasher</a> | <a href="guides.html">Guides</a></span></center></p><hr><br/>
Welcome to the <b>Guide Section</b>!<br/><br/>From here, you can browse or download various included manuals, documentation, references and guides.
<ul>
diff --git a/sbapp/share/index.html b/sbapp/share/index.html
index bc6c85da..4f34587b 100644
--- a/sbapp/share/index.html
+++ b/sbapp/share/index.html
@@ -10,7 +10,7 @@
</head>
<body>
<span class="logo">Sideband Repo</span>
-<p><center><span class="menu"><a href="index.html">Start</a> | <a href="flasher.html">RNode Flasher</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr><h2>Hello!</h2>
+<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="flasher.html">RNode Flasher</a> | <a href="guides.html">Guides</a></span></center></p><hr><h2>Hello!</h2>
<table style="margin-bottom: 1.5em;">
<tbody>
<tr>
diff --git a/sbapp/share/pkgs.html b/sbapp/share/pkgs.html
index 5e86dd09..d0229839 100644
--- a/sbapp/share/pkgs.html
+++ b/sbapp/share/pkgs.html
@@ -9,7 +9,7 @@
</head>
<body>
<span class="logo">Software</span>
-<p><center><span class="menu"><a href="index.html">Start</a> | <a href="flasher.html">RNode Flasher</a> | <a href="pkgs.html">Software</a> | <a href="guides.html">Guides</a></span></center></p><hr><br/>
+<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="flasher.html">RNode Flasher</a> | <a href="guides.html">Guides</a></span></center></p><hr><br/>
Welcome to the <b>Software Library</b>!<br/><br/>From here, you can download installable Python Wheel packages of Reticulum and various other auxillary programs and utilities.
<ul id="filelist">
</ul><br/>
diff --git a/setup.py b/setup.py
index 4e2c5b7e..bf2521ec 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,20 @@ def glob_paths(pattern):
return out_files
+def glob_share():
+ out_files = []
+ src_path = os.path.join(os.path.dirname(__file__), "sbapp/share")
+ print(src_path)
+
+ for root, dirs, files in os.walk(src_path):
+ for file in files:
+ filepath = os.path.join(str(Path(*Path(root).parts[1:])), file)
+
+ if not "mirrors/unsigned.io" in str(filepath):
+ out_files.append(filepath.split(f"sbapp{os.sep}")[1])
+
+ return out_files
+
packages = setuptools.find_packages(
exclude=[
"sbapp.plyer.platforms.android",
@@ -63,6 +77,7 @@ package_data = {
"kivymd/images/*",
"kivymd/*",
"mapview/icons/*",
+ *glob_share(),
*glob_paths(".kv")
]
}
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────